package com.tybbank.Bean;

import java.util.List;

/**
 * Created by plh
 * on 2018/5/9 0009.
 */

public class GetVersionBean<T> {


    /**
     * code : 1011
     * msg : 获取信息成功
     * android : {"number":2,"edition":"1.1","info":["大撒大撒"],"url":"http://118.24.98.203:8081/uploads/app/android.apk"}
     * ios : {"edition":"1.0"}
     */

    private int code;
    private String msg;
    private AndroidBean android;
    private IosBean ios;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public AndroidBean getAndroid() {
        return android;
    }

    public void setAndroid(AndroidBean android) {
        this.android = android;
    }

    public IosBean getIos() {
        return ios;
    }

    public void setIos(IosBean ios) {
        this.ios = ios;
    }

    public static class AndroidBean {
        /**
         * number : 2
         * edition : 1.1
         * info : ["大撒大撒"]
         * url : http://118.24.98.203:8081/uploads/app/android.apk
         */

        private String number;
        private String edition;
        private String url;
        private List<String> info;

        public String getNumber() {
            return number;
        }

        public void setNumber(String number) {
            this.number = number;
        }

        public String getEdition() {
            return edition;
        }

        public void setEdition(String edition) {
            this.edition = edition;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public List<String> getInfo() {
            return info;
        }

        public void setInfo(List<String> info) {
            this.info = info;
        }
    }

    public static class IosBean {
        /**
         * edition : 1.0
         */

        private String edition;

        public String getEdition() {
            return edition;
        }

        public void setEdition(String edition) {
            this.edition = edition;
        }
    }
}
